// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.ooops;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class Main {
  public static void main(String[] args) throws Exception {
    String className = args[0];
    
    Ooops ooops = OoopsFactory.get();
    ClassDataSupplier classDataSupplier = new FileClassDataSupplier();
    ClassDataReceiver classDataReceiver = new FileClassDataReceiver();
    
    ooops.process(className, classDataSupplier, classDataReceiver);
  }
}
